package com.cskaoyan.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @User: Yr
 * @Date: 2021/12/5 14:54
 * @Description: 新增/修改的数据与数据库内已被逻辑删除的数据冲突时 会抛出此异常
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class MySQLDuplicateEntryException extends Throwable {
    String msg;


}
